<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>window2</title>
  </head>
  <body>
    <h1>窗口2</h1>
    <p>接受窗口1传递过来的数据</p>
    <p>当前的数据是：<span id="content"></span></p>
    <script src="./window2.js"></script>
  </body>
</html>
